Page({
  data: {
    'update_0_title':'V0.0.1 内测版',
    'update_0_content':'所有功能全部采用本地数据数据进行模拟调试，开启第一次内测。',
    'update_0_date':'2019-03-26',
    'daixiang':'https://daixiang.blog.csdn.net',
    'wechat':'https://developers.weixin.qq.com/miniprogram/dev/index.html',
  },
  //点击复制API
  copyText: function (e) {
    console.log(e)
    wx.setClipboardData({
      data: e.currentTarget.dataset.text,
      success: function (res) {
        wx.getClipboardData({
          success: function (res) {
            wx.showToast({
              title: '复制成功'
            })
          }
        })
      }
    })
  }
});